﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyLibellus
{
    public class Subject
    {
        int id;
        string nom;

        public Subject()
        { 
        
        }

        public Subject(int id, string s)
        {
            this.id = id;
            nom = s;
        }

        public string Nom
        {
            get { return nom; }
            set { nom = value; }
        }

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        public override string ToString()
        {
            return nom;
        }
        
    }
}
